package ru.tpu.AAD.MalakhovaZaripov.RMI;

import java.rmi.*;
import java.util.List;

import ru.tpu.AAD.MalakhovaZaripov.Entities.*;

public interface ComputerShop extends Remote {
	
	public Customer getCustomer(Integer id) throws RemoteException;
	
	public List<Customer> getAllCustomers() throws RemoteException;
	
	public int insertCustomer(Customer newCustomer) throws RemoteException;
	
	public int updateCustomer(Customer oldCustomer) throws RemoteException;
	
	public int deleteCustomer(Customer oldCustomer) throws RemoteException;

}
